package com.hibiscusking.pet.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.hibiscusking.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author hibiscusking
 * @since 2022-10-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Pet extends BaseDomain{


    private String name;
    private BigDecimal saleprice;
    private String costprice;
    private String resources;
    /**
     * 状态：0下架，1上架
     */
    private Integer state = 0;
    /**
     * 类型id
     */
    private Long typeId;
    private Date offsaletime;
    private Date onsaletime;
    private Date createtime = new Date();
    /**
     * 店铺Id 如果被领养店铺id为null
     */
    private Long shopId;
    /**
     * 如果被领养为领养用户id
     */
    private Long userId;
    private Long searchMasterMsgId;
    private PetDetail Detail;


}
